package com.service;

import com.entity.Book;
import com.entity.RequestParam;
import utils.Result;

import java.util.List;


public interface BookService {

    Result queryBooks(RequestParam req);

    Book queryBookOne(Integer id);

    Integer deleteBookOne(Integer id);

    Integer update(Book book);

    Integer save(Book book);

    void importBook(List<Book> books);
}
